using System.Text;
using System;
using System.Collections.Generic;
using AmazeUI.db;
namespace AmazeUI.Bll.GetModel
{
public class PayLogJson
{
public int Id {get;set;}
public int XtUserId {get;set;}
public string Name {get;set;}
public int TotalFee {get;set;}
public string Body {get;set;}
public System.DateTime UpTime {get;set;}
public string Remarks {get;set;}
public int PayTypeId {get;set;}
public int PayClassId {get;set;}
public string PayBank {get;set;}
public string PayType {get;set;}
public string Phone {get;set;}
public string Addre {get;set;}
public bool IsPay {get;set;}
public bool IsEnd {get;set;}
public bool IsVal {get;set;}
public bool IsRefund {get;set;}
public string PayTime {get;set;}
public string Errcode {get;set;}
public string NonceStr {get;set;}
public PayLogJson(){}
public PayLogJson(PayLog model):this()
{
SetModel(model);
}

public void SetModel(PayLog model)
{
this.Id=model.Id;
this.XtUserId=model.XtUserId;
this.Name=model.Name;
this.TotalFee=model.TotalFee;
this.Body=model.Body;
this.UpTime=model.UpTime;
this.Remarks=model.Remarks;
this.PayTypeId=model.PayTypeId;
this.PayClassId=model.PayClassId;
this.PayBank=model.PayBank;
this.PayType=model.PayType;
this.Phone=model.Phone;
this.Addre=model.Addre;
this.IsPay=model.IsPay;
this.IsEnd=model.IsEnd;
this.IsVal=model.IsVal;
this.IsRefund=model.IsRefund;
this.PayTime=model.PayTime;
this.Errcode=model.Errcode;
this.NonceStr=model.NonceStr;
}


}
}
